<div class="content_two_action_category">
    <?php if (!empty($children_categories)) { ?>
        <div class="list_childrens_categories">
	    <?php
	    foreach ($children_categories as $one) {
		$class = '';
		if ($one->id == Yii::app()->request->getQuery('category_id', 0))
		    $class = 'active';
		?>
		<?= CHtml::link($one->title, Yii::app()->controller->createUrl('/category/index', array('category_id' => trim($one->id), 'category_title' => trim($one->title))), array('class' => $class)); ?>
	    <?php } ?>
        </div>
    <?php } ?>
    <?php if (!empty($items)) $this->renderPartial('list_items',array('items' => $items)) ?>
    <?php Helper::get_pagination($pages) ?>
</div>